package tools

import (
	"github.com/Andrew-M-C/go.emoji/official"
)

func HaveEmojiChar(data string) bool {

	nextIndex := 0
	for i, _ := range data {
		if i < nextIndex {
			continue
		}

		match, _ := official.AllSequences.HasEmojiPrefix(data[i:])
		if true == match {
			return true
		}
	}

	return false
}
